package com.daka.service;

import com.daka.entity.GroupRecruitVolunteer;
import com.daka.entity.Volunteer;
import com.daka.tools.Page;
import com.daka.vo.request.GroupRecruitVolunteerVo;
import com.daka.vo.request.VolunteerRequestVo;

import java.util.List;

/**
 * Created by yangx
 * Date: 2016/7/25 0025
 * Time: 11:23
 */

public interface VolunteerService {

    int insert(Volunteer user);

    int update(Volunteer user);

    Volunteer queryByEntity(Volunteer volunteer);

    Volunteer selectByPrimaryKey(long id);

    Page<Volunteer> selectByGroupId(VolunteerRequestVo po);

    List<Volunteer> queryByGroupId(VolunteerRequestVo po);

    List<Volunteer> selectByRecruit(GroupRecruitVolunteerVo po);

    Page<Volunteer> selectByRecruitPage(GroupRecruitVolunteerVo po);

    List<Volunteer> queryManager(long groupId);
}

